import request from '@/utils/request'

// 查询其他箱入出库记录列表
export function listOtherBoxInoutRecord(query) {
  return request({
    url: '/service/otherBoxInoutRecord/list',
    method: 'get',
    params: query
  })
}

// 查询其他箱入出库记录详细
export function getOtherBoxInoutRecord(id) {
  return request({
    url: '/service/otherBoxInoutRecord/' + id,
    method: 'get'
  })
}

// 新增其他箱入出库记录
export function addOtherBoxInoutRecord(data) {
  return request({
    url: '/service/otherBoxInoutRecord',
    method: 'post',
    data: data
  })
}

// 修改其他箱入出库记录
export function updateOtherBoxInoutRecord(data) {
  return request({
    url: '/service/otherBoxInoutRecord',
    method: 'put',
    data: data
  })
}

// 删除其他箱入出库记录
export function delOtherBoxInoutRecord(id) {
  return request({
    url: '/service/otherBoxInoutRecord/' + id,
    method: 'delete'
  })
}
